import request from '@/utils/request'

export function queryQuality5gResultList(query) {
  return request({
    url: '/networkQuality/queryQuality5gResultList',
    method: 'get',
    params: query
  })
}

export function queryQuality4gResultList(query) {
  return request({
    url: '/networkQuality/queryQuality4gResultList',
    method: 'get',
    params: query
  })
}

export function detailList(param) {
  return request({
    url: '/networkQuality/getDetailTableData',
    method: 'get',
    params: param
  })
}

/**
 * ========= 指标 ===========
 */
/**
 * 5G指标
 */
// 5GMR结构指标-小区(天)
export function getMR5gStructureList(param) {
  return request({
    url: '/networkQuality/getMR5gStructureList',
    method: 'get',
    params: param
  })
}
// 5G高干扰小区清单(天级)
export function getNrInterferenceDailyList(param) {
  return request({
    url: '/networkQuality/getNrInterferenceDailyList',
    method: 'get',
    params: param
  })
}
// 5G网络MRO指标表-小区(天)
export function getNrMroDailyList(param) {
  return request({
    url: '/networkQuality/getNrMroDailyList',
    method: 'get',
    params: param
  })
}
// 5G驻留比小区详单(天)表
export function getNrResidencyDailyList(param) {
  return request({
    url: '/networkQuality/getNrResidencyDailyList',
    method: 'get',
    params: param
  })
}
// NRCUDU私有性能统计表-小区（天）
export function getNrPrivateCapabilityDailyList(param) {
  return request({
    url: '/networkQuality/getNrPrivateCapabilityDailyList',
    method: 'get',
    params: param
  })
}
// NRCUDU性能统计表-小区(天)
export function getNrCapabilityDailyList(param) {
  return request({
    url: '/networkQuality/getNrCapabilityDailyList',
    method: 'get',
    params: param
  })
}
// NRCUDU性能统计-小区(流量自忙时)
export function getNrCapabilityBusyList(param) {
  return request({
    url: '/networkQuality/getNrCapabilityBusyList',
    method: 'get',
    params: param
  })
}
// SEQ_NRSA视频指标_小区(天)
export function getVideo5gResolutionList(param) {
  return request({
    url: '/networkQuality/getVideo5gResolutionList',
    method: 'get',
    params: param
  })
}
// SEQ_NRSA页面指标_小区(天)
export function getWeb5gResolutionList(param) {
  return request({
    url: '/networkQuality/getWeb5gResolutionList',
    method: 'get',
    params: param
  })
}
// SEQ_VONR_5G语音感知指标_小区(天)
export function getSeqVonrDailyList(param) {
  return request({
    url: '/networkQuality/getSeqVonrDailyList',
    method: 'get',
    params: param
  })
}

/**
 * 4g指标
 */
// 4GMR结构指标-小区(天)
export function getMR4gStructureList(param) {
  return request({
    url: '/networkQuality/getMR4gStructureList',
    method: 'get',
    params: param
  })
}
// 4G边缘速率性能表-华为(天)
export function getLteEdgeRateList(param) {
  return request({
    url: '/networkQuality/getLteEdgeRateList',
    method: 'get',
    params: param
  })
}
// 4G视频分辨率指标_小区(天)
export function getVideo4gResolutionList(param) {
  return request({
    url: '/networkQuality/getVideo4gResolutionList',
    method: 'get',
    params: param
  })
}
// LTE高干扰小区清单(天级)
export function getLteInterferenceDailyList(param) {
  return request({
    url: '/networkQuality/getLteInterferenceDailyList',
    method: 'get',
    params: param
  })
}
// LTE基础性能统计_小区(流量自忙时)
export function getLteCapabilityBusyList(param) {
  return request({
    url: '/networkQuality/getLteCapabilityBusyList',
    method: 'get',
    params: param
  })
}
// LTE基础性能统计_小区(天)
export function getLteCapabilityDailyList(param) {
  return request({
    url: '/networkQuality/getLteCapabilityDailyList',
    method: 'get',
    params: param
  })
}
// LTE网络MRO数据-小区(天)
export function getLteMroDailyList(param) {
  return request({
    url: '/networkQuality/getLteMroDailyList',
    method: 'get',
    params: param
  })
}
// SEQ_VOLTE基础性能_小区(天)
export function getSeqVolteDailyList(param) {
  return request({
    url: '/networkQuality/getSeqVolteDailyList',
    method: 'get',
    params: param
  })
}

export function queryQualityOverview() {
  return request({
    url: '/networkQuality/queryQualityOverview',
    method: 'get'
  })
}